//
//  ByCoreRefreshGifHeader.m
//  beibei_ios
//
//  Created by pro on 16/5/3.
//  Copyright © 2016年 hebidu. All rights reserved.
//

#import "ByCoreRefreshGifHeader.h"

@implementation ByCoreRefreshGifHeader


- (void)prepare {
    
    [super prepare];
    
    self.lastUpdatedTimeLabel.hidden = YES;
    self.stateLabel.hidden = YES;
    
    NSMutableArray *images = [[NSMutableArray alloc] init];
    for (int i = 0; i < 8; i ++) {
        UIImage *image = [UIImage imageNamed:[NSString stringWithFormat:@"load%i", i + 1]];
        [images addObject:image];
    }
    
    [self setImages:images forState:MJRefreshStateIdle];
    [self setImages:images forState:MJRefreshStateRefreshing];
    [self setImages:images forState:MJRefreshStatePulling];

}

@end
